package face.pay.open.util.request;

/**
 * @Auther: zkj
 * @Date: 2019/8/27 10:44
 * @Description:
 */
public class ErrorCode {

    public static Integer SUCCESS = 0;


    /**
     * 未知错误
     */
    public static Integer ERROR = -100;
    /**
     * 参数错误
     */
    public static Integer PARAM_ERROR = 101;


    /**
     * 解析异常
     */
    public static Integer PARSE_ERROR = 102;




    /**
     *验证签名错误
     */
    public static Integer SING_ERROR = 103;


    /**
     * 权限错误
     */
    public static Integer AUTH_ERROR = 104;

    /**
     * 微信调研错误
     */
    public static Integer WX_SEND_ERROR = 105;

    /**
     * 阿里云 OSS 上传失败
     */
    public static Integer ALI_OSS_ERROR = 106;


    public static String PARAM_ERROR_MESSAGE = "参数错误";


    public static String PARSE_ERROR_MESSAGE = "报文解析异常";

    public static String AUTH_ERROR_MESSAGE = "权限错误";

    public static String SING_ERROR_MESSAGE  = "签名验证错误";

    public static String WX_SEND_ERROR_MESSAGE = "调用微信错误";

    public static String ALI_OSS_ERROR_MESSAGE = "OSS上传失败";

}
